Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications


get-cgi

This function returns any CGI or other environment variables specific to a Web request. The function returns a blank value if an invalid variable name is supplied.

Location: web\method\cgiutils.i

Parameters:

INPUT p_name AS CHARACTER

The variable name. If the Unknown value (?) is specified, the return value is a list of variables.

Returns: CHARACTER

Notes: Most standard CGI and a number of HTTP environment variables are available as global variables. This function is only needed to access environment variables not defined in web\method\cgidefs.i.

Examples: See the init-cgi procedure in web\objects\web-util.p.

See also:

get-field

get-cgi-long

get-cookie


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095